package chat.service;

import chat.service.Impl.AdminServiceFeignClientFallback;
import common.model.result.Result;
import org.springframework.boot.autoconfigure.kafka.KafkaProperties;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;

@Service
@FeignClient(value = "auth-server",fallback = AdminServiceFeignClientFallback.class)
public interface AdminServiceFeignClient {
    @GetMapping("/jiang/getOnlineAdminId")
    public Result getOnlineAdminId();

}
